home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / amos / amsls396.lzh / AMOSLIST / 000016_cosmo@sci.fi_Sun Mar 3 15:12:13 1996.msg < prev    next >
Internet Message Format  |  1996-04-01  |  2KB

  1. Received: from conan.eds-ms.com (conan.eds-ms.com [204.240.136.11]) by mail1.access.digex.net (8.6.12/8.6.12) with SMTP id PAA14679;  for <mcox@access.digex.net> ; Sun, 3 Mar 1996 15:12:06 -0500
  2. Received: from r2d2.sci.fi by conan.eds-ms.com (5.x/SMI-SVR4)
  3.     id AA21268; Sun, 3 Mar 1996 14:50:07 -0500
  4. Received: from sci.fi (cosmo@borg [194.215.80.5]) by r2d2.sci.fi (8.6.12/8.6.11) with ESMTP id VAA25370; Sun, 3 Mar 1996 21:49:33 +0200
  5. Received: (cosmo@localhost) by sci.fi (8.6.12/8.6.4) id VAA21219; Sun, 3 Mar 1996 21:49:32 +0200
  6. Date: Sun, 3 Mar 1996 21:49:32 +0200 (EET)
  7. From: Ville Ranki <cosmo@sci.fi>
  8. X-Sender: cosmo@borg
  9. To: Cori Skagen <S93044370@ACS.SAULTC.ON.CA>
  10. Cc: amos-list@conan.eds-ms.com
  11. Subject: Re: Drawing Circles
  12. In-Reply-To: <01I1WK8K32X0000PWW@ACS.SAULTC.ON.CA>
  13. Message-Id: <Pine.sol.3.90.960303214707.20099B-100000@borg>
  14. Organization: Scifi Communications International Oy
  15. Mime-Version: 1.0
  16. Content-Type: TEXT/PLAIN; charset=ISO-8859-1
  17. Content-Transfer-Encoding: QUOTED-PRINTABLE
  18. Status: RO
  19. X-Status: 
  20.  
  21. On Sun, 3 Mar 1996, Cori Skagen wrote:
  22.  
  23. > Hi there, I was wondering, how exactly does Amos draw circles, it doesn't
  24. > seem to use the math functions(sin, cos), when I try to do a circle using
  25. > these functions it looks real ugly.  I need to draw a circle manually, bu=
  26. t
  27. > a good looking one.
  28. >=20
  29. > I used this code to draw my circle:
  30. >=20
  31. > Degree=20
  32. > Circle 60,100,15
  33. > For I#=3D0 To 360 Step 4
  34. > X=3D16*Cos(I#) : Y=3D16*Sin(I#)
  35. > Plot 100+X,100-Y
  36. > Next=20
  37.  
  38. Try something like this:
  39.  
  40.  For I=3D0 To 360 Step 4         (use Step 1 to get it more good-looking)
  41.  X=3D16*Sin(I) : Y=3D16*Cos(I)
  42.  If I=3D0 Then Plot 100+X,100-Y : Else Draw To 100+X,100-Y
  43.  Next
  44.  
  45.  
  46. ,----- -- -         - -- ------- --------.-S-- ---------------.
  47. |     =AB Ville Ranki =BB               =B7::::| n Ville Ranki  =B7:::|
  48. :  - E-Mail: cosmo@sci.fi              =B7:: A Mansikkakuja 6  :|
  49. :  - WWW:    http://www.sci.fi/~cosmo/  =B7: i 33960 Pirkkala  =B7|
  50. |  - IRC:    CoSMo @ #Amiga              | L    Finland       |
  51. `-------------- -- -         - -- -------'-------------- --- -'
  52.